Skip to content

Require CMake 3.17, remove CMP0051#7287

Merged
llvm-beanz merged 1 commit intomicrosoft:mainfrom
llvm-beanz:cbieneman/cmake-3.17
Apr 1, 2025
Merged

Require CMake 3.17, remove CMP0051#7287
llvm-beanz merged 1 commit intomicrosoft:mainfrom
llvm-beanz:cbieneman/cmake-3.17

Conversation

@llvm-beanz
Copy link
Copy Markdown
Collaborator

Hopefully this works and gets us able to build with CMake 4+.

Hopefully this works and gets us able to build with CMake 4+.
Copy link
Copy Markdown
Collaborator

@pow2clk pow2clk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was inherited from LLVM 3.7. There's no reason to think we need it here if everything builds without it.

Comment thread CMakeLists.txt
cmake_policy(SET CMP0051 OLD)
endif()

if(CMAKE_VERSION VERSION_LESS 3.1.20141117)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Existing issue note: is it possible for if(CMAKE_VERSION VERSION_LESS 3.1.20141117) to be true with the cmake_minimum_required(VERSION 3.17.2) set at the top of this file?

@llvm-beanz llvm-beanz merged commit 3035d31 into microsoft:main Apr 1, 2025
13 checks passed
@github-project-automation github-project-automation Bot moved this from New to Done in HLSL Roadmap Apr 1, 2025
@llvm-beanz llvm-beanz deleted the cbieneman/cmake-3.17 branch April 1, 2025 17:10
jeffnn pushed a commit to jeffnn/DirectXShaderCompiler that referenced this pull request Apr 8, 2025
Hopefully this works and gets us able to build with CMake 4+.

(cherry picked from commit 3035d31)
madebr pushed a commit to madebr/DirectXShaderCompiler that referenced this pull request Jun 10, 2025
Hopefully this works and gets us able to build with CMake 4+.

(cherry picked from commit 3035d31)
ErichDonGubler pushed a commit to erichdongubler-mozilla/DirectXShaderCompiler that referenced this pull request Aug 7, 2025
Hopefully this works and gets us able to build with CMake 4+.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants